//
//  UIColor+HexColor.h
//  TTiCar_Employee
//
//  Created by wangyang on 2017/11/20.
//  Copyright © 2017年 wangyang. All rights reserved.
//

#import <UIKit/UIKit.h>

#define UIColorHex(_hex_)   [UIColor colorWithHexString:((__bridge NSString *)CFSTR(#_hex_))]

@interface UIColor (HexColor)
/**
 *  16进制和RGB的转换
 *
 *  @param hexString 16进制
 *
 *  @return 转换后的颜色
 */
+ (UIColor *)colorWithHexString:(NSString *)hexString;

+ (UIColor *)colorAlphaWithHexString:(NSString *)hexString;

@end
